package com.bangcommunity.bbframe.sdm.web.shiro;

import org.apache.shiro.authc.AuthenticationToken;

import lombok.Data;
import lombok.ToString;

/**
 * @author tanghc
 */
@Data
@ToString
public class BaseSdmAuthenticationToken implements AuthenticationToken {

    private static final long serialVersionUID = 1L;

    private String ssoToken;

    @Override
    public Object getPrincipal() {
        return ssoToken;
    }

    @Override
    public Object getCredentials() {
        return ssoToken;
    }
}
